from random import randint
for i in xrange(10000):
        with open("out/r_py_" + str(i), "w+") as f:
                f.write (
                        "\n".join(["\t".join(map(str, [randint(1, 10000) for k in xrange(0, 5)])) for s in xrange(10000)])
                )
